<?php
namespace Admin\Model;
use Think\Model;
class MemberModel extends Model {
    protected $_validate = array(
        array('cid','require','会议不能为空！'),
        array('name','require','姓名不能为空！'),
        array('tel','require','手机号不能为空！'),
    );

    protected $_map = array(
    );

    protected $_auto = array(
        array('aid','getAid',3,'callback'),
    );
    protected function getAid(){
        return session('admin.id');
    }



}